OBJS = FengGo.o
CC = gcc
XX = g++
CFLAGS = -lcurses -Wall -O -g -ldl

INCLUDE = -I../include

 %.o:%.cpp
	$(XX) $(INCLUDE) $(CFLAGS) -c $< -o $@
All : clean FengGo

FengGo : $(OBJS)
	$(XX) $(OBJS) $(INCLUDE) -o FengGo $(CFLAGS)

clean:
	rm -rf *.o
